<?php
// +----------------------------------------------------------------------
// | Author: July
// +----------------------------------------------------------------------
// | 创建时间: 2023-12-27 20:39:42
// +----------------------------------------------------------------------
// | 包注册服务
// +----------------------------------------------------------------------

namespace july\julyadmin;

use july\julyadmin\AppRun;
use think\Service as BaseService;

/**
 * 服务
 */
class Service extends BaseService
{
    public function boot()
    {
        $this->app->event->listen('HttpRun', function () {
            $this->app->middleware->add(AppRun::class);
        });

        if (isset($_SERVER['SHELL'])) {
            
        }
    }
}
